package com.org.cys.service;

import java.util.List;

import com.org.cys.pojo.Page;
import com.org.cys.util.PageData;


public interface I${objName}Service {
	
	/**
	 * 装载${objName}
	 * @param PageData
	 * @return
	 * @throws Exception 
	 * */
	public PageData get${objName}ById(PageData pd) throws Exception;
	
	/**
	 * 保存${objName}
	 * @param PageData
	 * @throws Exception
	 * */
	public void save(PageData pd) throws Exception;
	
	/**
	 * 更新${objName}
	 * @param PageData
	 * @throws Exception
	 * */
	public void update(PageData pd) throws Exception;
	
	/**
	 * 删除用户
	 * @param PageData
	 * @throws Exception
	 * */
	public void delete(PageData pd) throws Exception;
	
	/**
	 * 列表
	 * @param PageData
	 * @throws Exception
	 * */
	public List<PageData> dataList(Page page) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param PageData
	 * @throws Exception
	 * */
	public List<PageData> listAll(PageData pd) throws Exception;
	
	/**
	 * 批量删除
	 * @param ArrayDATA_IDS[]
	 * @throws Exception
	 * */
	public void deleteAll(String[] ArrayDATA_IDS)throws Exception;
	
}